package com.sz.biz.csr.constants;

/**
 * Function: Work Order Constants <br>
 *
 * @author: siqishangshu <br>
 * @date: 2017-11-22 18:29:00
 */
public class CsrConstants {

    /**
     * * //工单： 0:已创建 1：处理中 2：已解决 3：已关闭
     * 0: created
     * 1: deal with
     * 2: resolved
     * 3: shut down
     */
    public class WorkOrderStatus {
        public static final int CREATED = 0;
        public static final int DEALING = 1;
        public static final int RESOLVED = 2;
        public static final int CLOSE = 3;
        public static final int UNKNOWN = 4  ;// TODO Unknown 这个状态后来加的，增加人修改
    }

    /**
     * 动作 0：转交 1：提交建议 2：接受处理 3：完结 4：关闭 5：创建并转交
     * 0: Transfer
     * 1: submit proposals
     * 2: accepted treatment
     * 3: end
     * 4: shut down
     * 5: create and deliver
     */
    public class WorkOrderAction {
        public static final int TRANSFER = 0;
        public static final int SUBMIT_PROPOSALS = 1;
        public static final int ACCEPTED_TREATMENT = 2;
        public static final int END = 3;
        public static final int CLOSE = 4;
        public static final int CREATE_AND_DELIVER = 5;

    }

    /**
     * 工单类型  业务咨询：0 问题反馈：1 修改订单：2 其他：3
     * Business consulting 0
     * Question feedback: 1
     * Modify order: 2
     * Others: 3
     */
    public class WorkOrderType {
        public static final int BUSINESS_CONSULTING = 0;
        public static final int QUESTION_FEEDBACK = 1;
        public static final int MODIFY_ORDER = 2;
        public static final int OTHERS = 3;
        public static final int UNKNOWN = 4;// TODO Unknown 这个状态后来加的，增加人修改
    }

    /**
     * 优先级 0：一般 1：紧急 2：非常紧急
     * 0: general 1: Emergency 2: very urgent
     */
    public class WorkOrderPriority {
        public static final int GENERAL = 0;
        public static final int EMERGENCY = 1;
        public static final int VERY_URGENT = 2;
    }

    /**
     * `status` bit(1) DEFAULT b'0' COMMENT '状态 1：解决 0：未解决',
     * Solution 0: unsolved ',
     */
    public class AskBoardStatus {
        public static final int UNSOLVED = 0;
        public static final int SOLUTION = 1;
        public static final int UNKNOWN = 2; //TODO 状态后增加，增加者加修改
    }
}
